package com.hjm.project.ActPaymentType.ActPaymentType.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 支付类型对象 act_payment_type
 * 
 * @author ActPaymentType
 * @date 2020-11-29
 */
public class ActPaymentType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属id */
    @Excel(name = "所属id")
    private String ruleid;

    /** 分润类型 （0 银行卡收单 1 云闪付   2 银联二维码 3 微信 4 支付宝） */
    @Excel(name = "分润类型 ", readConverterExp = "0=,银=行卡收单,1=,云=闪付,2=,银=联二维码,3=,微=信,4=,支=付宝")
    private String distributionType;

    /** 商户类型 （0 标准类 1优惠类  2减免类） */
    @Excel(name = "商户类型 ", readConverterExp = "0=,标=准类,1=优惠类,2=减免类")
    private String merType;

    /** 卡类型 （0 借记卡 1 贷记卡  2 条码） */
    @Excel(name = "卡类型 ", readConverterExp = "0=,借=记卡,1=,贷=记卡,2=,条=码")
    private String cardType;

    /** 结算类型 （0 D0 1 T1 ） */
    @Excel(name = "结算类型 ", readConverterExp = "0=,D=0,1=,T=1")
    private String settlementType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRuleid(String ruleid)
    {
        this.ruleid = ruleid;
    }

    public String getRuleid()
    {
        return ruleid;
    }
    public void setDistributionType(String distributionType)
    {
        this.distributionType = distributionType;
    }

    public String getDistributionType()
    {
        return distributionType;
    }
    public void setMerType(String merType)
    {
        this.merType = merType;
    }

    public String getMerType()
    {
        return merType;
    }
    public void setCardType(String cardType)
    {
        this.cardType = cardType;
    }

    public String getCardType()
    {
        return cardType;
    }
    public void setSettlementType(String settlementType)
    {
        this.settlementType = settlementType;
    }

    public String getSettlementType()
    {
        return settlementType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleid", getRuleid())
            .append("distributionType", getDistributionType())
            .append("merType", getMerType())
            .append("cardType", getCardType())
            .append("settlementType", getSettlementType())
            .toString();
    }
}
